package com.api.ittools.vo;

import com.api.ittools.entity.ToolDict;
import com.api.ittools.entity.ToolDictItem;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class ElDictTreeVo extends ToolDict {
    List<ToolDictItem> children = new ArrayList<>();
    private String dictIdVo ;

    public boolean getHasChildren(){
        return children.isEmpty() ;
    }
}
